package com.multidb.configdemo.service;


import com.multidb.configdemo.dao.user.UserDao;
import com.multidb.configdemo.entity.user.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    UserDao userDao;

    public User getUser() {
        return userDao.selectByPrimaryKey(1L);
    }

}
